package o;

import com.huawei.appgallery.foundation.card.base.bean.BaseDistCardBean;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseCardBean;
import java.util.List;
import java.util.ListIterator;

public class cvi<T extends BaseCardBean> extends BaseDistCardBean {
    public List<T> ˊ() {
        return null;
    }

    public boolean ˋ(int i) {
        List ˊ = ˊ();
        if (CollectCheck.isEmpty(ˊ)) {
            return true;
        }
        ListIterator listIterator = ˊ.listIterator(0);
        while (listIterator.hasNext()) {
            if (((BaseCardBean) listIterator.next()).ˋ(i)) {
                listIterator.remove();
            }
        }
        boolean z = CollectCheck.isEmpty(ˊ) || super.ˋ(i);
        return z;
    }
}
